<?
/*按照传递的关键词，搜索模特相册*/
//http://t.assy.com/api/assy/scene_search.php?keywords=宋

include_once("base.php");

$_keywords=$_REQUEST['keywords'];

//用封装的语句获取对应的数据
$_search_list=select_lines_all_items(
       $table_prefix."term",
    "listorder desc , nid desc",
    " belong = 'project' and 
               name like'%".$_keywords."%' or 
               introduce like'%".$_keywords."%'
              ","");


$result=$_search_list;
 
//按照格式输出数据
echo out("success",0,$result);


?>